/*
 * @Description: 员工信息
 * @Author: zhr
 */
import request from "@/utils/request";

// 新增员工工作经历
export function addWorkExperience(data) {
  return request({
    url: "/hr/api/v1/empWorks",
    method: "post",
    data: data
  });
}

// 删除员工工作经历
export function delWorkExperience(data) {
  return request({
    url: "/hr/api/v1/empWorks/deleteEmpWork/" + data.id,
    method: "delete",
    data: data
  });
}

// 修改员工工作经历
export function editWorkExperience(data) {
  return request({
    url: "/hr/api/v1/empWorks",
    method: "put",
    data: data
  });
}
